package com.lmqb.dao;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.LmRepay;
import com.lmqb.entry.DataCheck;
import com.lmqb.page.RepayPager;

public interface LmRepayMapper {
    int deleteByPrimaryKey(String repayNo);

    int insert(LmRepay record);

    int insertSelective(LmRepay record);

    LmRepay selectByPrimaryKey(String repayNo);

    int updateByPrimaryKeySelective(LmRepay record);

    int updateByPrimaryKey(LmRepay record);

	List<LmRepay> selectAll(RepayPager pagerModel);

	int selectCount(RepayPager pagerModel);

	List<LmRepay> selectAllOrder();

	LmRepay selectMaxByUserId(Integer userId);

	List<LmRepay> selectByUserId(Integer userId);

	List<LmRepay> selectYuqi(Integer userId);
	
	List<LmRepay> selectByuserIdStatus(Integer userId);
	//统计还款金额
	BigDecimal  selectRepayToday(DataCheck dataCheck); 
	
	
}